<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<isperp:problemView readonly="false">
	<jsp:body> 
<table class="form-table">
	<jsp:include page="step1view.jsp"></jsp:include>
	<%-- <jsp:include page="step2view.jsp"></jsp:include> --%>
</table>
<div class="header">
	<h3>实施结果</h3>
</div>
<form:form class="validate" id="problemForm"
	action="problem/problem/save" commandName="model" method="post">
	<input name="id" type="hidden" value="${model.id }">
	<table class="form-table">
	
	<tr>
			<td class="td1">根本原因：</td>
			<td class="td2" colspan="3"><textarea id="reasonAnalysis"
							name="reasonAnalysis" class="required2">${model.reasonAnalysis }</textarea>

			</td>
		</tr>
		<tr>
			<td class="td1">解决方案：</td>
			<td class="td2" colspan="3"><textarea id="solution"
							name="solution" class="required2">${model.solution }</textarea>
			</td>
		</tr>

       <tr>
		<td class="td1">实施结果：</td>
		<td class="td2" colspan="3"><form:radiobutton
				path="effectAnalysis" value="成功 " checked="true" />成功 <form:radiobutton
				path="effectAnalysis" value="失败" />失败</td>
		</tr>
		<tr>
			<td class="td1">实施完成日期：</td>
			<td class="td2" colspan="3"><input id="executeTime"
				name="executeTime" value="${model.executeTime }" class="required"
				type="datetime"></td>
		</tr>
		<tr>
			<td class="td1">实施者：</td>
			<td class="td2" colspan="3"><form:hidden path="executer"
					value="${model.supporter }" /> <isperp:departmentUser
					displayValue="${model.supporterName }" valueControlId="executer"
					id="executerName" name="executerName"
					displayValueCssClass="required"></isperp:departmentUser></td>
		</tr>

		<tr>
			<td class="td1">实施过程（最新）：</td>
			<td class="td2" colspan="3"><textarea id="executeProcess"
					name="executeProcess" class="required2">${model.executeProcess }</textarea>

			</td>
		</tr>

		
		
	</table>

</form:form>
</jsp:body>
</isperp:problemView>

<%-- <div class="header">
	<h3>关联流程</h3>
</div>
<isperp:processRelation businessKey="${model.id }"
	processKey="problemProcess" projectIdControl="projectIdControl"></isperp:processRelation>  --%>



<isperp:buttonList>
	<isperp:processButtons processKey="problemProcess" formId="problemForm"
		processId="${model.processId }" businessKey="${model.id }"></isperp:processButtons>
</isperp:buttonList>

